<template>
  <div class="all">
    <Nav :leftShow="left_show" :leftName="left_name" :rightName="right_name" :titleName="title_name">
    </Nav>
    <div class="noneed">
      <span class="l1">不需要开发票</span>
      <van-radio-group v-model="radio">
        <van-radio name="1" class="r1" checked-color="#07c160"></van-radio>
      </van-radio-group>
    </div>
    <van-button type="primary" size="large" class="submit" @click="clickAction">确定</van-button>
  </div>
</template>
<script>
  import Nav from "@/components/Nav.vue";
  export default {
    data() {
      return {
        radio: '0',
        left_show: false,
        left_name: '空',
        title_name: '选择发票抬头',
        right_name: '',
      }
    },
    methods: {
      clickAction() {
        // this.$router.push({ name: 'Order' })
        this.$router.go(-1);
      }
    },
    components: {
      Nav,
    }
  }
</script>

<style lang="less" scoped>
  .all {
    width: 100%;
    height: 100%;
    background-color: rgb(245, 245, 245);
    margin-top: 44px;
  }

  .noneed {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: white;
    float: left;
    border-top: 10px solid rgb(245, 245, 245);
  }

  .l1 {
    float: left;
    margin-left: 20px;
    font-size: 17px;
  }

  .r1 {
    float: right;
    margin-top: 15px;
    margin-right: 20px;
  }

  .submit {
    width: 90%;
    margin-left: 5%;
    height: 40px;
    line-height: 40px;
    border-radius: 4px;
    background-color: rgb(76, 217, 100);
    margin-top: 10px;
  }
</style>